import Vue from 'vue'
//导入vant:在man.js中导入组件，这样其他页面就不用再导入了
/* 用户登录模块 */
import { Button,NavBar,Field,Form,Toast,Tabbar,TabbarItem} from "vant";
Vue.use(Button);//把button挂载到vue的原型链上
Vue.use(NavBar);
Vue.use(Field);
Vue.use(Form);
Vue.use(Toast);
Vue.use(Tabbar);
Vue.use(TabbarItem);
/* 用户模块 */
import { Image as VanImage,Tag, Col, Row,Icon, Cell, CellGroup,Dialog,Popup,DatetimePicker,Uploader } from 'vant';
Vue.use(VanImage);
Vue.use(Tag);
Vue.use(Col);
Vue.use(Row);
Vue.use(Icon);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Dialog);
Vue.use(Popup);
Vue.use(DatetimePicker);
Vue.use(Uploader);
/* 首页模块 */
import { Tab, Tabs,List, PullRefresh,Grid, GridItem ,Lazyload} from 'vant';
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(List);
Vue.use(PullRefresh);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Lazyload);
/* 搜索模块 */
import { Search } from 'vant';
Vue.use(Search);